package com.ruoyi.card.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员卡管理对象 card
 * 
 * @author ruoyi
 * @date 2025-05-19
 */
public class Card extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 卡名 */
    @Excel(name = "卡名")
    private String name;

    /** 种类  期限卡1 次卡2 */
    @Excel(name = "种类  期限卡1 次卡2")
    private Long type;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 次卡次数 */
    @Excel(name = "次卡次数")
    private Long count;

    /** 期限卡和次卡时效 */
    @Excel(name = "期限卡和次卡时效")
    private Long day;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 娱乐项目id */
    @Excel(name = "娱乐项目id")
    private Long gameTypeId;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 状态 0 1 */
    @Excel(name = "状态 0 1")
    private Long status;

    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;

    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }

    public void setDay(Long day) 
    {
        this.day = day;
    }

    public Long getDay() 
    {
        return day;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setgameTypeId(Long gameTypeId) 
    {
        this.gameTypeId = gameTypeId;
    }

    public Long getgameTypeId() 
    {
        return gameTypeId;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }

    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("price", getPrice())
            .append("count", getCount())
            .append("day", getDay())
            .append("image", getImage())
            .append("gameTypeId", getgameTypeId())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
